import { Controller, Post, Body } from '@nestjs/common';
import { Public } from 'src/common/decorator/public.decorator';

// @ApiTags('验证码模块')
@Controller('common/log')
export class LogController {
  constructor() {}

  @Post('/add')
  @Public()
  getCode(@Body() data) {
    console.log(data);
    return {
      data: null,
    };
  }
}
